home *** CD-ROM | disk | FTP | other *** search
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc ..\..\WorkDir\Shaders\ps\ps2_0_hdr_light_src.psh
- // ps2_0_hdr_light_src.cg
- //
- //
- // Parameters:
- //
- // float4 $GlobalLightEmissive;
- // float4 $LightColor;
- // float4 $LightSrcIntencity;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // -------------------- ----- ----
- // $GlobalLightEmissive c0 1
- // $LightSrcIntencity c1 1
- // $LightColor c2 1
- //
-
- ps_2_0
- def c3, 0.0199999996, 0.0199999996, 0.0199999996, 1
- dcl t4.x
- mul r0.w, t4.x, t4.x
- rcp r1.w, r0.w
- mov r0, c3
- add r0, r0, c1
- mad r0, r0, r1.w, c0
- mul r0, r0, c2
- mov oC0, r0
-
- // approximately 7 instruction slots used
-